import request from '../axios'

export function findByName (name) {
  const url = '/api/dic/type'
  const params = { name }
  return request.get(url, { params })
}
